"""mydjango URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from myapp.edu_user import Register, Login
from myapp.test_users import *
from myapp.views import *
from workorder.views import *
from ticket.views import *
urlpatterns = [
    path('admin/', admin.site.urls),
    path('register/', Register.as_view()),
    path('login/', Login.as_view()),
    path('userdetail/', UserDetail.as_view()),
    path('users/', Users.as_view()),
    path('alter/', Alter.as_view()),
    path('delete/', Delete.as_view()),
    path('updatausername/', UpdateUserName.as_view()),
    path('getuserinfo/', GetUserInfo.as_view()),
    path('giteeback/', GiteeBack.as_view()),
    path('gitee/', Gitee.as_view()),
    path('addapproves/', AddApproves.as_view()),
    path('flowconview/', CarefulView.as_view()),
    path('getcate/', GetCateDetail.as_view()),
    path('uploader/', Uploader.as_view()),
    path('careful/', CarefulView.as_view()),
    path('myworkorder/', MyWorkOrder.as_view()),
    path('dw/', WD.as_view()),
    path('cx/', CX.as_view()),
    path('ding_back/', ding_back),
    path('ding_url/', ding_url),
    path('get_tree/', get_tree),
    path('get_cate/', get_cate),
]
